<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Aria: ArTimeChecker Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aria
   &#160;<span id="projectnumber">2.9.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classArTimeChecker.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classArTimeChecker-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ArTimeChecker Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>class for checking if something took too long and logging it  
 <a href="classArTimeChecker.html#details">More...</a></p>

<p><code>#include &lt;ariaUtil.h&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a172fe362e6dcadf8e7bfeea24a506c20"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a172fe362e6dcadf8e7bfeea24a506c20"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTimeChecker.html#a172fe362e6dcadf8e7bfeea24a506c20">ArTimeChecker</a> (const char *name=&quot;Unknown&quot;, int defaultMSecs=100)</td></tr>
<tr class="memdesc:a172fe362e6dcadf8e7bfeea24a506c20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:a172fe362e6dcadf8e7bfeea24a506c20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecd3787916f852d93cd81bd8d0531b17"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aecd3787916f852d93cd81bd8d0531b17"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTimeChecker.html#aecd3787916f852d93cd81bd8d0531b17">check</a> (const char *subName)</td></tr>
<tr class="memdesc:aecd3787916f852d93cd81bd8d0531b17"><td class="mdescLeft">&#160;</td><td class="mdescRight">checks, optionally with a subname (only one subname logged per cycle) <br /></td></tr>
<tr class="separator:aecd3787916f852d93cd81bd8d0531b17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9f530bd0ca66f01177cdda40d78674b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac9f530bd0ca66f01177cdda40d78674b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTimeChecker.html#ac9f530bd0ca66f01177cdda40d78674b">finish</a> (void)</td></tr>
<tr class="memdesc:ac9f530bd0ca66f01177cdda40d78674b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finishes the check. <br /></td></tr>
<tr class="separator:ac9f530bd0ca66f01177cdda40d78674b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee3005dedd3ad60e6577dfc79ae3d404"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aee3005dedd3ad60e6577dfc79ae3d404"></a>
<a class="el" href="classArTime.html">ArTime</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTimeChecker.html#aee3005dedd3ad60e6577dfc79ae3d404">getLastCheckTime</a> ()</td></tr>
<tr class="memdesc:aee3005dedd3ad60e6577dfc79ae3d404"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the last time a check happened (a start counts as a check too) <br /></td></tr>
<tr class="separator:aee3005dedd3ad60e6577dfc79ae3d404"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4a23f4e1be2144a0a029cfcd6abdd5a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac4a23f4e1be2144a0a029cfcd6abdd5a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTimeChecker.html#ac4a23f4e1be2144a0a029cfcd6abdd5a">setDefaultMSecs</a> (int defaultMSecs)</td></tr>
<tr class="memdesc:ac4a23f4e1be2144a0a029cfcd6abdd5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the default mSecs. <br /></td></tr>
<tr class="separator:ac4a23f4e1be2144a0a029cfcd6abdd5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a680f9d318026a18a975eb0ce401798db"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a680f9d318026a18a975eb0ce401798db"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTimeChecker.html#a680f9d318026a18a975eb0ce401798db">setName</a> (const char *name)</td></tr>
<tr class="memdesc:a680f9d318026a18a975eb0ce401798db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the name. <br /></td></tr>
<tr class="separator:a680f9d318026a18a975eb0ce401798db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa87014e0a67407178f6f4aed3723177a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa87014e0a67407178f6f4aed3723177a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTimeChecker.html#aa87014e0a67407178f6f4aed3723177a">start</a> (void)</td></tr>
<tr class="memdesc:aa87014e0a67407178f6f4aed3723177a"><td class="mdescLeft">&#160;</td><td class="mdescRight">starts the check <br /></td></tr>
<tr class="separator:aa87014e0a67407178f6f4aed3723177a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89a05121b0623c8a4cd839dee04aa77d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a89a05121b0623c8a4cd839dee04aa77d"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArTimeChecker.html#a89a05121b0623c8a4cd839dee04aa77d">~ArTimeChecker</a> ()</td></tr>
<tr class="memdesc:a89a05121b0623c8a4cd839dee04aa77d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a89a05121b0623c8a4cd839dee04aa77d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a0a9bbdc177bd7bb3c0c5beb5baa85c54"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0a9bbdc177bd7bb3c0c5beb5baa85c54"></a>
<a class="el" href="classArTime.html">ArTime</a>&#160;</td><td class="memItemRight" valign="bottom"><b>myLastCheck</b></td></tr>
<tr class="separator:a0a9bbdc177bd7bb3c0c5beb5baa85c54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21721069ccaaa580b7ccf4072296c37b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a21721069ccaaa580b7ccf4072296c37b"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>myMSecs</b></td></tr>
<tr class="separator:a21721069ccaaa580b7ccf4072296c37b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f39b5a0d0e245659ed40aa34072ff54"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2f39b5a0d0e245659ed40aa34072ff54"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>myName</b></td></tr>
<tr class="separator:a2f39b5a0d0e245659ed40aa34072ff54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f61486d60deda9444e549b3c2dcadc7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9f61486d60deda9444e549b3c2dcadc7"></a>
<a class="el" href="classArTime.html">ArTime</a>&#160;</td><td class="memItemRight" valign="bottom"><b>myStarted</b></td></tr>
<tr class="separator:a9f61486d60deda9444e549b3c2dcadc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>class for checking if something took too long and logging it </p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>ariaUtil.h</li>
<li>ariaUtil.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classArTimeChecker.html">ArTimeChecker</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
